﻿using System.Collections.Generic;
using Domain.Core;
using Domain.Core.Specification;
using Domain.MainModule.Entities;

namespace Domain.MainModule.Addresses
{
    public interface IAddressRepository : IRepository<Address>
    {
        Address FindAddress(ISpecification<Address> specification);
        IEnumerable<Address> FindAddresses(ISpecification<Address> specification);
    }
}
